stata syntax for analyses


1. Predicting the relationships between socioeconomic status and concerns for food safety
reg food1 gena2 gena3 gena4 gena5 gender junior high college income 

2. Predicting the relationships between food safety concerns and trust in the central government
reg cen gena2 gena3 gena4 gena5 gender junior high college income food1 if edu~=. 
reg cen gena2 gena3 gena4 gena5 gender junior high college income food1 edu_food
reg cen gena2 gena3 gena4 gena5 gender junior high college income food1 income_food if edu~=. 

3. Predicting the relationships between food safety concerns and trust in local government
reg loc gena2 gena3 gena4 gena5 gender junior high college income food1 if edu~=.
reg loc gena2 gena3 gena4 gena5 gender junior high college income food1 edu_food
reg loc gena2 gena3 gena4 gena5 gender junior high college income food1 income_food if edu~=.

4. Predicting the attribution of responsibility to the governments
logit resfood gena2 gena3 gena4 gena5 gender junior high college income food1 if edu~=.
logit resfood gena2 gena3 gena4 gena5 gender junior high college income food1 edu_food if edu~=. 
logit resfood gena2 gena3 gena4 gena5 gender junior high college income food1 income_food if edu~=.
